using System;
using System.ComponentModel.DataAnnotations;
using Medora.Model.Classifiers;
using Medora.Model.Persons;

namespace Medora.Model.Institutions
{
    public class ScheduleItem : DeletedEntity, IDeletedEntity
    {
        public Guid ProviderId { get; set; }
        public virtual Provider Provider { get; set; }

        [Required]
        public DateTime StartDateTime { get; set; }

        [Required]
        public int Length { get; set; }

        public Guid ScheduleTypeId { get; set; }
        public ScheduleType ScheduleType { get; set; }

        public Guid? ScheduleActivityId { get; set; }
        public ScheduleActivity ScheduleActivity { get; set; }
    }
}